package com.lry;

public enum GlobalStatus {

    UnKnown(0),
    Begin(1),
    Committing(2),
    Rollbacking(3);

    private int code;

    GlobalStatus(int code) {
        this.code = code;
    }


    public int getCode() {
        return code;
    }

}
